﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;

namespace MarketPlace.Web.Models
{
    public class NewsTitle
    {
        public long Id { get; set; }

        public string Title { get; set; }

        public string ProductName { get; set; }

        public DateTime CreatedOn { get; set; }
    }

    public class NewsTitleList
    {
        public IList<NewsTitle> Items { get; set; }

        public int RedCount { get; set; }

        public int LastestCount { get; set; }

        [DefaultValue(true)]
        public bool ShowDate { get; set; }
    }
}
